* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 14px !important;
  background: #f5f5f9;
  margin: 0 !important;
  padding: 0 !important;
  // 乐橙
  font-family: -apple-system, Helvetica Neue, Helvetica,Segoe UI, Arial, Roboto, PingFang SC, miui, Hiragino Sans GB,Microsoft Yahei, sans-serif;
  -webkit-font-smoothing: antialiased;
}

:focus {
  outline: 1;
}

html {
  scroll-behavior: smooth;
}

article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary {
  display: block;
}

ul,
ol {
  list-style: none;
}

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

input,
select {
  vertical-align: middle;
}

a {
  text-decoration: none;
  color: black;
}

i {
  font-style: normal;
}

img {
  display: block;
  max-width: 100%;
}

// 解决vant 在微信浏览器有滚动条
textarea,
input {
  font-size: 15px;
  -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
  -webkit-appearance: none;
  overflow-y: hidden;
}

table.tipstable {
  border-collapse: collapse;

  td {
    text-align: left;
    border: 1px solid #e6e6e6;
    padding: 5px;
  }
}

table {
  table-layout: fixed;
  empty-cells: show;
  border-collapse: collapse;
  margin: 0 auto;
}

// 常用模块公共样式
.fix_foot_box {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 100;
  width: 100%;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  background-color: #fff;
  box-shadow: 0 -0.08rem 0.133333rem 0 rgba(0, 0, 0, 0.1);

  .actionBox {
    width: 100%;
    padding: 5px 15px;
    background-color: #fff;
  }

  .singleBtnBox {
    display: flex;
    align-items: center;
    width: 100%;
    height: 60px;
    padding: 0 14px;
    background-color: #fff;

    .span_btn {
      flex: 1;
      height: 40px;
      line-height: 40px;
      color: #ffffff;
      font-size: 15px;
      letter-spacing: 2px;
      border-radius: 40px;
      text-align: center;
      background-image: linear-gradient(to right, #ff462c, #cb1800);

      &:active {
        opacity: 0.75;
      }
    }
  }
}

.safe_area {
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}


.btm_line {
  position: relative;

  &::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    border-bottom: 1px solid #ededed;
    transform: scaleY(0.5);
  }
}

// 页面遮罩层,禁止修改点击
.disEditModel {
  position: relative;

  &::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 2;
  }
}

// 字段单位
.field_unit {
  color: #f54040;
}

.rule-warn-msg {
  font-size: 12px;
  color: #ff9900;
  padding: 5px 12px;
  background-color: #fdf6ec;
}

.border-line {
  position: relative;

  &::before {
    content: ' ';
    position: absolute;
    box-sizing: border-box;
    pointer-events: none;
    right: 16px;
    bottom: 0;
    left: 16px;
    border-bottom: 1px solid #ebedf0;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
  }
  &.lr100{
    &::before {
      left: 0;
      right: 0;
    }
  }
}
.enfold-line {
  position: relative;

  &::before {
    content: ' ';
    position: absolute;
    box-sizing: border-box;
    pointer-events: none;
    right: 16px;
    bottom: 0;
    left: 16px;
    border-bottom: 1px solid #ebedf0;
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
    z-index: 3;
  }
}
.del_ico {
  margin-left: 20px;
  margin-right: 0;
  font-size: 20px;
  color: #f54040;
}
